package ynu.edu.achitectureclass.service;

import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface SensorService<T> {
    String getAccessToken();
    void fetchAndStoreSoilData(String sensorType);
    T getLatestData();
    List<T> getAllData();
}